package org.elephas.webapp.frontend.jquery;

import org.apache.wicket.ResourceReference;
import org.apache.wicket.behavior.AbstractBehavior;
import org.apache.wicket.markup.html.IHeaderResponse;
import org.apache.wicket.markup.html.resources.JavascriptResourceReference;

public class JQueryBehavior extends AbstractBehavior {
	private static final long serialVersionUID = 1L;
	
	private static final ResourceReference JQUERY_1_2_3 = new JavascriptResourceReference(
			JQueryBehavior.class, "res/jquery-1.2.3.pack.js");
	
	@Override
	public void renderHead(IHeaderResponse response) {
		response.renderJavascriptReference(JQUERY_1_2_3);
	}
}
